﻿using BlackBox;
using NUnit.Framework;

namespace Tests.Unit
{
    [TestFixture]
    public class WhenReadingCsvFile
    {
        private string filePath;

        [SetUp]
        public void SetUp()
        {
            filePath = Properties.Settings.Default.FilePath;
        }

        [Test]
        public void ParserHydratesAnalysisObject()
        {
            var analyses = CsvParser.HydrateAnalyses( filePath );
            Assert.That( analyses.Count, Is.GreaterThan( 0 ) );
        }
    }
}
